package com.lagou.edu.dao;

import com.lagou.edu.pojo.LagouToken;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface LagouTokenDao extends JpaRepository<LagouToken,Long> {

    LagouToken findByToken(String token);

    LagouToken findByEmail(String email);
}
